breaking out of the box
am 18.06.2007 13:00:21 von phill.luckhurstWhere do I add target = '_blank'
to this code for
field_2?
The code below opens a box in a google map and displays some data
read
from a MySql table within. The map is displayed in an iFrame(I know,
not the best way to do it). At the moment, clicking on the generated
link in the box causes the resulting webpage to open in the iFrame.
Instead I would like it to open in a new page.
Can you tell me where I am going wrong?
{
echo "var point = new GLatLng(" . $row['field_5'] . "," .
$row['field_4'] . ");\n";
echo "var marker = createMarker(point, '" .
addslashes($row['field_1']) . "
$row['field_2'] . "
\">". $row['field_2'] ."
" . $row['field_3'] . "',4);
\n";
echo "map.addOverlay(marker);\n";
echo "\n";